package com.zhubayi.springcloud.service;

import org.springframework.stereotype.Component;

/**
 * @author zhubayi
 */
@Component
public class PaymentHystrixFallBackService implements PaymentHystrixService{
    @Override
    public String ok(Integer id) {
        return "ok==>PaymentHystrixFallBackService......";
    }

    @Override
    public String timeout(Integer id) {
        return "timeout==>PaymentHystrixFallBackService......";
    }
}
